package com.sanjiahantang.youjiarole.module.city.beans;


import com.sanjiahantang.youjiarole.base.BaseBean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zy on 2017/9/19.
 */

public class CityBean extends BaseBean {

    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data{
        private List<City> hot_city;
        private List<PinYinCity> pinyin_city;
        private List<String> pinyin;

        public List<City> getHot_city() {
            return hot_city;
        }

        public void setHot_city(List<City> hot_city) {
            this.hot_city = hot_city;
        }

        public List<PinYinCity> getPinyin_city() {
            return pinyin_city;
        }

        public void setPinyin_city(List<PinYinCity> pinyin_city) {
            this.pinyin_city = pinyin_city;
        }

        public List<String> getPinyin() {
            return pinyin;
        }

        public void setPinyin(List<String> pinyin) {
            this.pinyin = pinyin;
        }
    }

    public static class City implements Serializable {
        private String region_id;
        private String region_name;
        private String pinyin;

        public City(){

        }

        public City(String region_name, String pinyin){
            this.region_name = region_name;
            this.pinyin = pinyin;
        }


        public String getRegion_id() {
            return region_id;
        }

        public void setRegion_id(String region_id) {
            this.region_id = region_id;
        }

        public String getRegion_name() {
            return region_name;
        }

        public void setRegion_name(String region_name) {
            this.region_name = region_name;
        }

        public String getPinyin() {
            return pinyin;
        }

        public void setPinyin(String pinyin) {
            this.pinyin = pinyin;
        }
    }


    public static class PinYinCity{
        private String pinyin;
        private List<City> city;

        public String getPinyin() {
            return pinyin;
        }

        public void setPinyin(String pinyin) {
            this.pinyin = pinyin;
        }

        public List<City> getCity() {
            return city;
        }

        public void setCity(List<City> city) {
            this.city = city;
        }
    }

    public static class Province{
        private String name;
        private List<CityInProvince> city;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<CityInProvince> getCity() {
            return city;
        }

        public void setCity(List<CityInProvince> city) {
            this.city = city;
        }
    }

    public static class CityInProvince{
        private String name;
        private List<String> area;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<String> getArea() {
            return area;
        }

        public void setArea(List<String> area) {
            this.area = area;
        }
    }
}
